MailPoet\Services\AuthorizedEmailsController S

Total Complexity 40
Dependencies 8
Dependents 12
Total lines 183
Lines of code 123
Logical lines of code 77
Comment lines 8
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
createAuthorizedEmailAddress()
S
56 7 18
onNewsletterSenderAddressUpdate()
S
62 6 11
setFromEmailAddress()
S
56 5 17
validateAddressesInScheduledAndAutomaticEmails()
S
56 4 19
checkAuthorizedEmailAddresses()
S
57 4 18
updateMailerLog()
S
66 4 9
onSettingsSave()
S
65 3 8
isEmailAddressAuthorized()
S
75 2 4
validateAddressesInSettings()
S
68 2 7
__construct()
S
74 1 5
getAllAuthorizedEmailAddress()
S
80 1 3
validateAuthorizedEmail()
S
74 1 4